 #main {
   width: 400px;
   height: auto;
   border: 1px solid #C0C4CC;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   border-radius: 6px;
   margin: 0;
   padding: 0;
   transition: all 1s;
   box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)
 }

 .selection {
   display: block;
   width: 360px;
   height: 390px;
   padding: 20px;
   font-size: 16px;
   font-family: '楷体';
   transition: all 1s;
 }

 .item {
   padding: 10px 0;
   display: flex;
   align-items: center;
 }

 label {
   width: 80px;
   margin-right: 10px;
   text-align: right;
 }

 span {
   color: #FF0000;
   font-size: 14px;
   font-family: '楷体';
   margin-left: 5px;
 }

 .inputText {
   width: 260px;
   height: 30px;
   line-height: 30px;
   text-align: center;
   padding-left: 5px;
   position: relative;
   font-size: 12px;
   font-family: '楷体';
 }

 .header {
   width: 100%;
   height: 60px;
   text-align: center;
   line-height: 60px;
   color: white;
   background: #303133;
   font-size: 20px;
   border-top-right-radius: 6px;
   border-top-left-radius: 6px;
 }

 #sumbit,
 #cancel {
   display: block;
   width: 60px;
   height: 30px;
   text-align: center;
   line-height: 30px;
   background: deepskyblue;
   color: white;
   border: 1px solid lightgrey;
   cursor: pointer;
   margin-top: 10px;
   transition: all .4s;
   font-family: '楷体';
   font-size: 14px;
 }

 #cancel {
   background: #909399;
 }

 #sumbit:hover,
 #cancel:hover {
   background: dodgerblue;
   animation: shake .7s linear;
 }

 #cancel:hover {
   background: #606266;
 }

 @keyframes shake {
   0% {
     transform: translateX(0);
   }

   10% {
     transform: translateX(-1px);
   }

   20% {
     transform: translateX(2px);
   }

   30% {
     transform: translateX(-4px);
   }

   40% {
     transform: translateX(4px);
   }

   50% {
     transform: translateX(-4px);
   }

   60% {
     transform: translateX(4px);
   }

   70% {
     transform: translateX(-4px);
   }

   80% {
     transform: translateX(2px);
   }

   90% {
     transform: translateX(-1px);
   }

   100% {
     transform: translateX(0);
   }
 }